var fs = require('fs')

fs.writeFile('./write_file>.txt', 'nodde js', function(error){
    if(error){
        console.log('保存失败')
    }else{
        console.log('保存成功')
    }
})